<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?php
$this->setEncoding('UTF-8');

echo $this->headLink()
        ->setIndent('  ')
        ->prependStylesheet($this->baseUrl() . "/css/bootstrap/bootstrap.css")
        ->prependStylesheet($this->baseUrl() . "/css/bootstrap/bootstrap-responsive.css")
        ->prependStylesheet($this->baseUrl() . "/css/jquery-ui-1.8.23.custom.css")
        ->prependStylesheet($this->baseUrl() . "/css/dt-bootstrap/DT_bootstrap.css");
?>

<head>
    <meta charset="UTF-8"/>
    <title>Laboratorios virtuales - FP-UNA</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <!-- Le javascript
        ================================================== -->
    <!-- Placed at the end of the document so the pages load faster
    <script src="../assets/js/jquery.js"></script>
    <script src="../assets/js/bootstrap-transition.js"></script>
    <script src="../assets/js/bootstrap-alert.js"></script>
    <script src="../assets/js/bootstrap-modal.js"></script>
    <script src="../assets/js/bootstrap-dropdown.js"></script>
    <script src="../assets/js/bootstrap-scrollspy.js"></script>
    <script src="../assets/js/bootstrap-tab.js"></script>
    <script src="../assets/js/bootstrap-tooltip.js"></script>
    <script src="../assets/js/bootstrap-popover.js"></script>
    <script src="../assets/js/bootstrap-button.js"></script>
    <script src="../assets/js/bootstrap-collapse.js"></script>
    <script src="../assets/js/bootstrap-carousel.js"></script>
    <script src="../assets/js/bootstrap-typeahead.js"></script>
    -->

    <style type="text/css">
        body {
            padding-top: 60px;
            padding-bottom: 40px;
        }
        .sidebar-nav {
            padding: 9px 0;
        }
    </style>

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Fav and touch icons -->
</head>
<body>

    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container-fluid">
                <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </a>
                <a class="brand" href="#">Laboratorios Virtuales - M&oacute;dulo de administraci&oacute;n</a>
                <div class="nav-collapse collapse">
                    <p class="navbar-text pull-right">
                        Bienvenido, <?php echo $this->loggedUsername(); ?><a href="<?php echo $this->url(array('module' => 'default', 'action' => 'logout', 'controller' => 'login')); ?>"> salir</a>
                    </p>
                    <!--ul class="nav">
                        <li class="active"><a href="#">Home</a></li>
                        <li><a href="#about">About</a></li>
                        <li><a href="#contact">Contact</a></li>
                    </ul-->
                </div><!--/.nav-collapse -->
            </div>
        </div>
    </div>

    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span3">
                <div class="well sidebar-nav">
                    <ul class="nav nav-list">
                        <li class="nav-header">Home</li>
                        <li id="dashboard"><a href="<?php echo $this->baseUrl() . "/admin/dashboard" ?>">Dashboard</a></li>
                        <li id="tablero"><a href="<?php echo $this->baseUrl() . "/admin/dashboard/tablero" ?>">Recursos reservados</a></li>
                        <li id="tablero-unidad"><a href="<?php echo $this->baseUrl() . "/admin/dashboard/tablerounidad" ?>">Tablero de disponibilidad</a></li>
                        <li class="nav-header">Ac&aacute;demico</li>
                        <li id="laboratorio"><a href="<?php echo $this->baseUrl() . "/admin/laboratorio" ?>">Laboratorios</a></li>
                        <!-- li id="curso"><a href="<?php echo $this->baseUrl() . "/admin/curso" ?>">Cursos</a></li -->
                        <li id="area-academica"><a href="<?php echo $this->baseUrl() . "/admin/aacademica" ?>">&Aacute;reas acad&eacute;micas</a></li>
                        <li class="nav-header">Administrativo</li>
                        <li id="capacity"><a href="<?php echo $this->baseUrl() . "/admin/capacity" ?>">Configuraci&oacute;n de la capacidad</a></li>
                        <li id="usuario"><a href="<?php echo $this->baseUrl() . "/admin/usuario" ?>">Usuarios</a></li>
                        <!--li id="rol"><a href="<?php //echo $this->baseUrl() . "/admin/rol"  ?>">Roles</a></li-->
                    </ul>
                </div><!--/.well -->
            </div><!--/span-->
            <div class="span9">

                <div class="row-fluid">
                    <?php
                    echo $this->layout()->content;
                    ?>
                </div>

            </div><!--/row-->
        </div><!--/span-->
    </div><!--/row-->

    <hr/>

    <?php echo $this->footer(); ?>
</body>
